package com.xiaodu.yaml.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: dutianjie
 * @date: 2021/3/23
 * @version: v1.0.0
 * @description: 描述
 * @email: dutianjie@thunisoft.com
 **/
@RestController
@RequestMapping("/config")
public class PropertiesController {

    @GetMapping("/fruits/price")
    public String fruitsPrice() {
        return "fruits.apple=1.2/kg;fruits.banana=1.5/kg";
    }

}
